from django.db import models
from ckeditor_uploader.fields import RichTextUploadingField


# Create your models here.
class Information(models.Model):
    type = models.CharField(max_length=20, verbose_name='类型')
    content = RichTextUploadingField(config_name='my_config', verbose_name='主要内容')

    def __str__(self):
        return self.type

    class Meta:
        verbose_name = '简介、章程、结构'
        verbose_name_plural = '简介、章程、结构'
